package com.ruoyi.project.mahjong.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 整体流水对象 t_record
 *
 * @author ruoyi
 * @date 2023-10-07
 */
@ApiModel("流水实体类字段描述")
public class TRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** bak3  使用为房间id */
    @Excel(name = "bak3")
    @ApiModelProperty(value = "房间id")
    private String bak3;
    @ApiModelProperty(value = "是否默认选择该计费方式 1是 2 不是")
    private String defaultStatus;
    @ApiModelProperty(value = "上交金额")
    private String deliverMoney;
    @ApiModelProperty(value = "临时退桌状态 1 正常结算开桌， 2 临时退桌")
    private String overTable;
    @ApiModelProperty(value = "余留金额")
    private String remainingMoney;
    @ApiModelProperty(value = "初始金额")
    private String initMoney;

    /** bak2  */
    @Excel(name = "bak2")
    @ApiModelProperty(value = "bak2")
    private String bak2;

    /** bak1 使用为：商品id*/
    @Excel(name = "bak1")
    @ApiModelProperty(value = "商品id")
    private String bak1;

    /** 赠送积分 */
    @Excel(name = "赠送积分")
    @ApiModelProperty(value = "赠送积分")
    private String receiveIntegrai;

    /** 收款时间，退款时间 */
    @Excel(name = "收款时间，退款时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = " 收款时间，退款时间")
    private Date incomeRefundTime;

    /** 退款金额 */
    @Excel(name = "退款金额")
    @ApiModelProperty(value = "退款金额")
    private Double refundMoney;

    /** 是否退款：1已退款 2未退款 */
    @Excel(name = "是否退款：1已退款 2未退款")
    @ApiModelProperty(value = "是否退款：1已退款 2未退款")
    private String isRefund;

    /** 是否结账：1已结账  2 未结账   3取消开桌 */
    @Excel(name = "是否结账：1已结账  2 未结账")
    @ApiModelProperty(value = "是否结账：1已结账  2 未结账")
    private String isCheckout;

    /** 实收金额 */
    @Excel(name = "实收金额")
    @ApiModelProperty(value = "实收金额")
    private Double receiveMoney;

    /** 赠送金额 */
    @Excel(name = "赠送金额")
    @ApiModelProperty(value = "赠送金额")
    private Double giveMoney;

    /** 金额：消费金额，收支金额 */
    @Excel(name = "金额：消费金额，收支金额")
    @ApiModelProperty(value = "金额：消费金额，收支金额")
    private Double money;

    /** 消费单位 */
    @Excel(name = "消费单位")
    @ApiModelProperty(value = "消费单位")
    private String costUnit;

    /** 消费数量 */
    @Excel(name = "消费数量")
    @ApiModelProperty(value = "消费数量")
    private Long costNumber;

    /** 具体消费名称和收入支出名称 */
    @Excel(name = "具体消费名称和收入支出名称")
    @ApiModelProperty(value = "具体消费名称和收入支出名称")
    private String specificName;

    /** 店铺收支 1收入 2支出 */
    @Excel(name = "店铺收支 1收入 2支出")
    @ApiModelProperty(value = "店铺收支 1收入 2支出")
    private String shopIncome;

    /** 消费桌号表 */
    @Excel(name = "消费桌号表")
    @ApiModelProperty(value = "消费桌号表")
    private String costTable;

    /** 收入项目类型：1大包 2小包 3公厅 4台球 5充值  6商品 7 其他 */
    @Excel(name = "收入项目类型：1大包 2小包 3公厅 4台球 5充值  6商品 7 其他")
    @ApiModelProperty(value = "收入项目类型Id")
    private String incomeProjectType;

    /** 收款类型 1 线上  2线下其他 */
    @Excel(name = "收款类型 1 线上  2线下其他")
    @ApiModelProperty(value = "收款类型 1 线上  2线下其他")
    private String incomeType;

    /** 消费会员名称 */
    @Excel(name = "消费会员名称")
    @ApiModelProperty(value = "消费会员名称")
    private String costMemberName;

    /** 归属店铺 */
    @Excel(name = "归属店铺")
    @ApiModelProperty(value = "归属店铺")
    private Long shopId;

    /** 消费会员id */
    @Excel(name = "消费会员id")
    @ApiModelProperty(value = "消费会员id")
    private Long costMemberId;

    /** 员工id */
    @Excel(name = "交班id")
    @ApiModelProperty(value = "交班id")
    private Long staffId;

    /** 交班id */
    @Excel(name = "交班id")
    @ApiModelProperty(value = "交班id")
    private String handoverId;

    /** 流水编号 */
    @Excel(name = "流水编号")
    @ApiModelProperty(value = "流水编号")
    private String orderNumber;

    /** id */
    @ApiModelProperty(value = "id")
    private Long id;

    public String getOverTable() {
        return overTable;
    }

    public void setOverTable(String overTable) {
        this.overTable = overTable;
    }

    public String getDefaultStatus() {
        return defaultStatus;
    }

    public void setDefaultStatus(String defaultStatus) {
        this.defaultStatus = defaultStatus;
    }

    public void setBak3(String bak3)
    {
        this.bak3 = bak3;
    }

    public String getBak3()
    {
        return bak3;
    }
    public void setBak2(String bak2)
    {
        this.bak2 = bak2;
    }

    public String getBak2()
    {
        return bak2;
    }
    public void setBak1(String bak1)
    {
        this.bak1 = bak1;
    }

    public String getBak1()
    {
        return bak1;
    }
    public void setReceiveIntegrai(String receiveIntegrai)
    {
        this.receiveIntegrai = receiveIntegrai;
    }

    public String getReceiveIntegrai()
    {
        return receiveIntegrai;
    }
    public void setIncomeRefundTime(Date incomeRefundTime)
    {
        this.incomeRefundTime = incomeRefundTime;
    }

    public Date getIncomeRefundTime()
    {
        return incomeRefundTime;
    }
    public void setRefundMoney(Double refundMoney)
    {
        this.refundMoney = refundMoney;
    }

    public Double getRefundMoney()
    {
        return refundMoney;
    }
    public void setIsRefund(String isRefund)
    {
        this.isRefund = isRefund;
    }

    public String getIsRefund()
    {
        return isRefund;
    }
    public void setIsCheckout(String isCheckout)
    {
        this.isCheckout = isCheckout;
    }

    public String getIsCheckout()
    {
        return isCheckout;
    }
    public void setReceiveMoney(Double receiveMoney)
    {
        this.receiveMoney = receiveMoney;
    }

    public Double getReceiveMoney()
    {
        return receiveMoney;
    }
    public void setGiveMoney(Double giveMoney)
    {
        this.giveMoney = giveMoney;
    }

    public Double getGiveMoney()
    {
        return giveMoney;
    }
    public void setMoney(Double money)
    {
        this.money = money;
    }

    public Double getMoney()
    {
        return money;
    }
    public void setCostUnit(String costUnit)
    {
        this.costUnit = costUnit;
    }

    public String getCostUnit()
    {
        return costUnit;
    }
    public void setCostNumber(Long costNumber)
    {
        this.costNumber = costNumber;
    }

    public Long getCostNumber()
    {
        return costNumber;
    }
    public void setSpecificName(String specificName)
    {
        this.specificName = specificName;
    }

    public String getSpecificName()
    {
        return specificName;
    }
    public void setShopIncome(String shopIncome)
    {
        this.shopIncome = shopIncome;
    }

    public String getShopIncome()
    {
        return shopIncome;
    }
    public void setCostTable(String costTable)
    {
        this.costTable = costTable;
    }

    public String getCostTable()
    {
        return costTable;
    }
    public void setIncomeProjectType(String incomeProjectType)
    {
        this.incomeProjectType = incomeProjectType;
    }

    public String getIncomeProjectType()
    {
        return incomeProjectType;
    }
    public void setIncomeType(String incomeType)
    {
        this.incomeType = incomeType;
    }

    public String getIncomeType()
    {
        return incomeType;
    }
    public void setCostMemberName(String costMemberName)
    {
        this.costMemberName = costMemberName;
    }

    public String getCostMemberName()
    {
        return costMemberName;
    }
    public void setShopId(Long shopId)
    {
        this.shopId = shopId;
    }

    public Long getShopId()
    {
        return shopId;
    }
    public void setCostMemberId(Long costMemberId)
    {
        this.costMemberId = costMemberId;
    }

    public Long getCostMemberId()
    {
        return costMemberId;
    }
    public void setStaffId(Long staffId)
    {
        this.staffId = staffId;
    }

    public Long getStaffId()
    {
        return staffId;
    }
    public void setHandoverId(String handoverId)
    {
        this.handoverId = handoverId;
    }

    public String getHandoverId()
    {
        return handoverId;
    }
    public void setOrderNumber(String orderNumber)
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber()
    {
        return orderNumber;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public String getDeliverMoney() {
        return deliverMoney;
    }

    public void setDeliverMoney(String deliverMoney) {
        this.deliverMoney = deliverMoney;
    }

    public String getRemainingMoney() {
        return remainingMoney;
    }

    public void setRemainingMoney(String remainingMoney) {
        this.remainingMoney = remainingMoney;
    }

    public String getInitMoney() {
        return initMoney;
    }

    public void setInitMoney(String initMoney) {
        this.initMoney = initMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("bak3", getBak3())
            .append("bak2", getBak2())
            .append("bak1", getBak1())
            .append("remark", getRemark())
            .append("receiveIntegrai", getReceiveIntegrai())
            .append("incomeRefundTime", getIncomeRefundTime())
            .append("refundMoney", getRefundMoney())
            .append("isRefund", getIsRefund())
            .append("isCheckout", getIsCheckout())
            .append("receiveMoney", getReceiveMoney())
            .append("giveMoney", getGiveMoney())
            .append("money", getMoney())
            .append("costUnit", getCostUnit())
            .append("costNumber", getCostNumber())
            .append("specificName", getSpecificName())
            .append("shopIncome", getShopIncome())
            .append("costTable", getCostTable())
            .append("incomeProjectType", getIncomeProjectType())
            .append("incomeType", getIncomeType())
            .append("costMemberName", getCostMemberName())
            .append("shopId", getShopId())
            .append("costMemberId", getCostMemberId())
            .append("staffId", getStaffId())
            .append("handoverId", getHandoverId())
            .append("orderNumber", getOrderNumber())
            .append("id", getId())
            .toString();
    }
}
